package com.hbnu.mapper;

import com.hbnu.domain.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Select("select * from userinfo where uname=#{uname} and upsw=#{upsw};")
    UserInfo findUserByUnameAndUpsw(@Param("uname") String uname, @Param("upsw") String upsw);

}
